/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.service.cate_gory;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.entity.cate_gory.Cate_Gory;
import com.thinkgem.jeesite.modules.shop.dao.cate_gory.Cate_GoryDao;

/**
 * 分类Service
 * @author xfj
 * @version 2019-05-15
 */
@Service
@Transactional(readOnly = true)
public class Cate_GoryService extends CrudService<Cate_GoryDao, Cate_Gory> {

	public Cate_Gory get(String id) {
		return super.get(id);
	}
	
	public List<Cate_Gory> findList(Cate_Gory cate_Gory) {
		return super.findList(cate_Gory);
	}
	
	public Page<Cate_Gory> findPage(Page<Cate_Gory> page, Cate_Gory cate_Gory) {
		return super.findPage(page, cate_Gory);
	}
	
	@Transactional(readOnly = false)
	public void save(Cate_Gory cate_Gory) {
		super.save(cate_Gory);
	}
	
	@Transactional(readOnly = false)
	public void delete(Cate_Gory cate_Gory) {
		super.delete(cate_Gory);
	}
	
}